import { Module } from '@nestjs/common';
import { MemoryService } from './memory.service';
import { MemoryController } from './memory.controller';
import { MemoryInfoSchema } from '../schema/Memory/memory_schema';
import { MongooseModule } from '@nestjs/mongoose';

@Module({
  imports: [
    MongooseModule.forFeature([
      { name: 'Memory_Info', schema: MemoryInfoSchema },
    ]),
  ],
  controllers: [MemoryController],
  providers: [MemoryService],
})
export class MemoryModule {}
